import { createRouter, RouteRecordRaw, createWebHashHistory } from 'vue-router'

const routes: RouteRecordRaw[] = [
    { path: '/', component: () => import('../view/index.vue') },
    { path: '/echarts', component: () => import('../view/echarts.vue') },
]

const router = createRouter({
    history: createWebHashHistory(),
    routes,
})

export default router